package cn.fhkj.config;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * wechat mp properties
 *
 */
@ConfigurationProperties(prefix = "qiniu")
@Configuration
public class SevenNiuProperties {

	/**
	 * 
	 */
	private String file_url_pre;

	/**
	 * 
	 */
	private String accessKey;
	/**
	 * 
	 */
	private String secretKey;
	/**
	 * 要上传的空间:七牛的bucket_name ,必选华东，都是小写
	 */
	private String bucketName;
	/**
	 * 七牛转码队列
	 */
	private String pipeline;

	public String getFile_url_pre() {
		return file_url_pre;
	}

	public void setFile_url_pre(String file_url_pre) {
		this.file_url_pre = file_url_pre;
	}

	public String getAccessKey() {
		return accessKey;
	}

	public void setAccessKey(String accessKey) {
		this.accessKey = accessKey;
	}

	public String getSecretKey() {
		return secretKey;
	}

	public void setSecretKey(String secretKey) {
		this.secretKey = secretKey;
	}

	public String getBucketName() {
		return bucketName;
	}

	public void setBucketName(String bucketName) {
		this.bucketName = bucketName;
	}

	public String getPipeline() {
		return pipeline;
	}

	public void setPipeline(String pipeline) {
		this.pipeline = pipeline;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
	}
}
